package aop05;

public class Singleton2 {

    private static Singleton2 singleton2;

    private Singleton2(){}

    public static Singleton2 get(){
        if(singleton2==null) {
            singleton2 = new Singleton2();
        }
        return singleton2;
    }

}
